package com.stu.serive;

import com.stu.Dto.ComplaintDTO;
import com.stu.vo.ComplaintVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ComplaintService {

    /**
     * 添加投诉信息
     * @param complaintDTO
     */
    void insertComplaint(ComplaintDTO complaintDTO);

    /**
     * 查询投诉结果
     * @return
     */
    List<ComplaintVo> selectComplaint();
}
